package org.example.backend.mapper;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import org.example.backend.entity.Users;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
* @author wangy
* @description 针对表【users(用户表)】的数据库操作Mapper
* @createDate 2025-04-06 19:54:59
* @Entity org.example.backend.entity.Users
*/
public interface UsersMapper extends BaseMapper<Users> {

    List<Users> searchAllByUsernameAndEmail(@Param("username") String username, @Param("email") String email);

    Users searchAllByUsername(@Param("username") String username);

    Users searchAllByEmail(@Param("email") String email);

}




